package cn.zxd.member.valueadd.dao;

import cn.zxd.member.valueadd.vo.*;

import java.util.Map;
import java.util.List;

/**
 * Created by DaoCreator (daoInterface.jt)
 */
public interface ValueaddDao {
//#appendbegin
    //==============Valueadd==============
    public void insertValueadd(Valueadd vo);
    public void updateValueadd(Valueadd vo);

    public void deleteValueadd(Valueadd vo);
    public void deleteValueaddByPrimaryKey(String sn );
    public void deleteValueaddByParam(Object... param);
    public void deleteValueaddByParam(Map<String, Object> param);

    public ValueaddSO getValueaddByPrimaryKey(String sn );
    
    public int getValueaddCountByPrimaryKey(String sn );
    public int getValueaddCountByParam(Object... param);
    public int getValueaddCountByParam(Map<String, Object> param);

    public List<ValueaddSO> getValueaddListByParam(String orderBy, Object... param);
    public List<ValueaddSO> getValueaddListByParam(int page, int count, String orderBy, Object... param);
    public List<ValueaddSO> getValueaddListByParam(String orderBy, Map<String, Object> param);
    public List<ValueaddSO> getValueaddListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<ValueaddSO> getAllValueaddList(String orderBy);
    public int getValueaddNo();
    //==============end of Valueadd==============	
//#appendend   

    //==============Valueadd_Def==============
    public void insertValueaddDef(ValueaddDef vo);
    public void updateValueaddDef(ValueaddDef vo);

    public void deleteValueaddDef(ValueaddDef vo);
    public void deleteValueaddDefByPrimaryKey(String sn );
    public void deleteValueaddDefByParam(Object... param);
    public void deleteValueaddDefByParam(Map<String, Object> param);

    public ValueaddDef getValueaddDefByPrimaryKey(String sn );
    
    public int getValueaddDefCountByPrimaryKey(String sn );
    public int getValueaddDefCountByParam(Object... param);
    public int getValueaddDefCountByParam(Map<String, Object> param);

    public List<ValueaddDef> getValueaddDefListByParam(String orderBy, Object... param);
    public List<ValueaddDef> getValueaddDefListByParam(int page, int count, String orderBy, Object... param);
    public List<ValueaddDef> getValueaddDefListByParam(String orderBy, Map<String, Object> param);
    public List<ValueaddDef> getValueaddDefListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<ValueaddDef> getAllValueaddDefList(String orderBy);
    //==============end of Valueadd_Def==============	


}
